﻿#include <iostream>
#include <string>
#include "type_cast.h"


int main() {
	int intValue = type_cast<int>("42");
	double doubleValue = type_cast<double>("3.14");
	long double longDoubleValue = type_cast<long double>("2.718281828459");
	std::string strValue = type_cast<std::string>(intValue);

	std::cout << "intValue: " << intValue << std::endl;
	std::cout << "doubleValue: " << doubleValue << std::endl;
	std::cout << "longDoubleValue: " << longDoubleValue << std::endl;
	std::cout << "strValue: " << strValue << std::endl;

	return 0;
}